#pragma once

#include "effectbase.h"

namespace Gui2D
{
	class OsgBubbleLabelManager;
}

namespace VrDataCore
{
	class VRDATACORE_EXPORT BubbleEffectActor:public EffectBase
	{
	public:
		BubbleEffectActor();
		virtual void buildPropertyMap();
		virtual osg::ref_ptr<CoreBase::ActorBase> clone();
		virtual void apply(CoreBase::ActorBase* actor);
		virtual void unApply(CoreBase::ActorBase* actor);
		void setBillboardTexture(QString texture);
		QString getBillboardTexture();
		void setBubbleText(QString text);
		QString getBubbleText();
	protected:
		~BubbleEffectActor();
	private:
		QString										_iconFile;
		QString										_bubbleText;
		Gui2D::OsgBubbleLabelManager*				_osgBubbleLabelManager;
	};
}